import { View, Image, Text } from "@tarojs/components";
import styles from "./index.module.scss";
import { AtButton } from "taro-ui3";

const Entry = (props) => {
 
  return (
    <View className={styles["entry-container"]}>
      <View className={styles["logo-container"]}>
        <View className={styles["login-logo"]}>
          <Image
            className={styles["logo"]}
            mode={"aspectFit"}
            src={require("@/assets/images/logo@1x.png")}
          />
        </View>
        <Text className={styles["login-title"]}>我在，我的世界里找到我.</Text>
      </View>
      <AtButton className={styles["login-btn"]} onClick={props.entry}>
        开 始
      </AtButton>
    </View>
  );
};

export default Entry;
